<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <f:metadata>
        <f:viewParam name="nick" value="#{privadoController.nick}"/>
    </f:metadata>
    <h:head>
        <title>Nuevo Mensaje Privado</title>
    </h:head>
    <h:body>
        <h1>Nuevo Hilo</h1>
        <hr/>
        <h:form>
            <h:panelGrid columns="2">
                <h:outputLabel value="Texto: "/>
                <h:inputText value="#{privadoController.privado.texto}"/>
                <h:outputLabel value="Destinatario: "/>
                <h:outputLabel value="#{privadoController.nick}"/>
            </h:panelGrid>
            <h:commandButton value="Aceptar" action="#{privadoController.enviarPrivado}"/>
        
        </h:form>
    </h:body>
</html>
